package cn.jaye.fabric.common.constant;

/**
 * 全局常量定义
 * Created by Jaye on 2017/7/10.
 */
public class Global {

    public static final String LOG_PARA_SERVICE_NAME = "microservicename";
    public static final String LOG_PARA_URL = "url";
    public static final String LOG_PARA_HTTP_METHOD = "http_method";
    public static final String LOG_PARA_PARAS = "paras";
    public static final String LOG_PARA_RESPONSE = "response";

    public static final String DATA_EXECUTE_RESULT = "executeResult";

    public static final String ACCESSPOINT_PARA_ENCRYPTED = "paraEncrypted";
    public static final String DATA_SUCCESS_NUM = "successNum";

    public static final String X_HNA_TENANT = "x-hna-tenant";

    public static final Integer SUCCESS_FLAG = 1000;

    public static final String COOKIE_NAME = "HNA_APP_TOKEN";

    public static final int COOKIE_MAX_AGE = 2592000;

    public static final String SYSTEM_ACCESSPOINT_ID = "defaultaccesspoint";
    public static final String SYSTEM_ACCESSPOINT_SIGNKEY = "kY3US))Sm6kmNsno";
    public static final String SYSTEM_ACCESSPOINT_AES_KEY = "NusE)2)2I6Ve{WQq";
    public static final String SYSTEM_ACCESSPOINT_AES_IV = "e3Rfg!1yf5Cw7(Hl";
    public static final String SYSTEM_CHANNEL = "test";

    public static final String FABRRIC_GATEWAY_ADDRESS = "http://localhost:8080";
//    public static final String FABRRIC_GATEWAY_ADDRESS = "http://10.71.200.153:8080";

    public static final String TEST_USERNAME = "test";
    public static final String TEST_PASSWORD = "gZkKDKuqOVwh";
    public static final String TEST_ORGID = "orgid1";
}
